package com.link.base.base.buryingpoint.buriedanalysis.dao.mybatis.mapper;

import com.link.base.base.buryingpoint.buriedanalysis.model.BuriedAnalysisReport;
import com.link.core.basic.dao.mapper.BasicMapper;

import java.util.List;

/**
 * 埋点数据分析报表-埋点数据分析报表
 *
 * @author 闫有霞
 * @date 2019/05/06 15:52
 */
public interface BuriedAnalysisReportMapper extends BasicMapper<BuriedAnalysisReport> {

    /**
     * 根据广告ID及时间查询广告流量数据
     *
     * @author: 闫有霞
     * @date: 2019/5/6
     * @param: appId 广告ID
     * startDate  开始时间
     * endDate    结束时间
     **/
    public List<BuriedAnalysisReport> queryByAppId(BuriedAnalysisReport entity) throws Exception;

    /**
     * 根据广告ID查询转发分享数据
     *
     * @author: 闫有霞
     * @date: 2019/5/6
     * @param: appId 广告ID
     **/
    public List<BuriedAnalysisReport> queryShareByAppId(BuriedAnalysisReport entity) throws Exception;


    /**
     * 根据广告ID查询当日浏览量数据
     *
     * @author: 闫有霞
     * @date: 2019/5/6
     * @param: appId 广告ID
     **/
    public List<BuriedAnalysisReport> queryTodayByAppId(BuriedAnalysisReport entity) throws Exception;


}
